package com.bm.server.controller;


import com.bm.server.service.intf.BloodBlockService;
import com.bm.server.vo.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Hey man，take your time！
 *
 * @Author: 李松洋
 * @Description:代码永不报错，工资永在上涨！！！
 * @Date: Create in 16:54 2022/7/22
 */
@RestController
@RequestMapping("/api/bloodBlock")
@Api(tags = "血染钟楼-李松洋")
@CrossOrigin
public class BloodBlockController {
    @Resource
    private BloodBlockService service;
    @ApiOperation(value = "查询游戏房间")
    @GetMapping("/all.do")
    public R all(){
        return service.bloodBlock();
    }
}
